package com.atguigu;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class ExcelPojo {
    //设置表头名称,并设置所在列的索引
    @ExcelProperty(value = "学生编号",index = 0)
    long id;
    //设置表头名称,并设置所在列的索引
    @ExcelProperty(value = "学生姓名",index = 1)
    String name;
}
